package com.lagou.com.lagou.homework.Modules2.item3;
/**
 * 使用InterSetMeal
 */
public class InterSetMealUse extends InterSetMeal {
    //自定义成员方法实现父类参数传递
    public static void draw(InterSetMeal ism){
        ism.show2();
    }

    public static void main(String[] args) {
        /*InterSetMeal ism = new InterSetMealUse();
        ism.show2();*/
        InterSetMealUse.draw(new InterSetMeal(10,20));
        //CallSetMeal
    }
}
